package cn.itcast.store.dao;

import java.sql.SQLException;

import cn.itcast.store.domain.Admin;
import cn.itcast.store.domain.User;

public interface UserDao {
	
	
	
	void userRegist(User user01)throws SQLException;
	User userActive(String code) throws Exception;
	void updateUser(User user) throws Exception;
	User login(User user) throws Exception;
	Admin Adminlogin(Admin admin) throws Exception;
	
	
	
}
